Project:
<select>
	{foreach from=$projects item="project" key="project_name"}
		<option value="{$project_name}">{$project_name}</option>
	{/foreach}
</select>

{if $project_id}
	<table class="nfo2_table">
			<tr>
				<th>name</th>
				<th>path</th>
				<th></th>
			</tr>
			{foreach from=$modules item="module" key="module_name"}
				<tr>
					<td>
						{$module_name}
					</td>
					<td>{$project}</td>
					<td><a href="#">X</a></td>
				</tr>
			{/foreach}
			<tr>
				<form method="post" action="">
				{$__TPL.FORM.module_name}
				<input type="hidden" name="action" value="add_module">
				<input type="hidden" name="project_id" value="{$project_id}">
					<td colspan="2">
						<input type="text" name="module_name">
					</td>
					<td>
						<input type="submit" value="add">
					</td>
				</form>
			</tr>
	</table>
{/if}
